bitkeeper revision 1.847 (407189896qS6tdiifFnDtrV9kvbJyA)
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Mon, 5 Apr 2004 16:30:01 +0000 (16:30 +0000)
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>
Mon, 5 Apr 2004 16:30:01 +0000 (16:30 +0000)
Fix compiler warning.

xen/arch/i386/io_apic.c

index 5b3a54089c291ddb431308b48b6ffb3902c03c2f..4cec08fc22e32356725275293c5de60147c8c924 100644 (file)
@@ -1507,18 +1507,6 @@ static struct hw_interrupt_type lapic_irq_type = {
        end_lapic_irq
 };
 
-static void enable_NMI_through_LVT0 (void * dummy)
-{
-       unsigned int v, ver;
-
-       ver = apic_read(APIC_LVR);
-       ver = GET_APIC_VERSION(ver);
-       v = APIC_DM_NMI;                        /* unmask and set to NMI */
-       if (!APIC_INTEGRATED(ver))              /* 82489DX */
-               v |= APIC_LVT_LEVEL_TRIGGER;
-       apic_write_around(APIC_LVT0, v);
-}
-
 /*
  * This looks a bit hackish but it's about the only one way of sending
  * a few INTA cycles to 8259As and any associated glue logic.  ICR does